package cn.edu.neusoft.cqy917.zyfypt_cqy917.service;

import cn.edu.neusoft.cqy917.zyfypt_cqy917.bean.LoginBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;



public interface LoginService {
    @GET("api.php/login/username/{username}/password/{password}")
    Call<LoginBean>
    login(@Path("username") String username,
          @Path("password")String password );

    @GET("api.php/reg/username/{username}/password/{password}/tel/{tel}")
    Call<String>
    register(@Path("username") String username,
             @Path("password")String password,
             @Path("tel")String tel  );
}

